.banner{
    height: 200px;
    width: 100%;
}
.banner img{
    height: 100%;
    width: 100%;
}
.rank-punch{
    display: flex;
    height: 150px;
    margin-top: 20px;
    width: 100%;
    color:#004E73 ;
    font-size: 20px;
}
.rank{
    height: 150px;
    flex: 2;
    margin-right: 20px;
    border-radius: 15px;
    background: url(../image/index-card-rank.png) no-repeat  rgba(21, 146, 204, .6);
    background-size: 120px;

}
.punch{
    height: 150px;
    flex: 3;
    border-radius: 15px;
    background: url(../image/index-card-sum.png) no-repeat rgba(123, 203, 245, .6);
    background-size: 120px;
}
 .rank-punch .rank{
    position: relative;
    padding: 20px 10px;
    box-sizing: border-box;
}
.rank-punch .rank .nine{
    position: absolute;
    bottom: 20px;
    right: 10px;
    font-size: 50px;
    color: #ffffff;
} 
.rank-punch .punch{
    position: relative;
}
.rank-punch .punch .leiji{
    padding: 20px 10px;
    box-sizing: border-box;
}
.rank-punch .punch  .day{
    position: absolute;
    bottom: 40px;
    right: 20px;
    padding: 10px;
    border: solid 1px pink;
    box-sizing: border-box;
    border-radius: 20px;
}
/* 运动 */
.sports{
    display: flex;
    height: 150px;
    margin-top: 20px;
    width: 100%;
    color:#004E73 ;
    font-size: 20px;
    
}
.sports-date{
    height: 150px;
    flex: 2;
    margin-right: 20px;
    border-radius: 15px;
    background: url(../image/index-card-data.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}
.sports-date div{
    position: absolute;
    top: 20px;
    left: 15px;
    font-weight: bold;
    color: #ffffff;
    font-size: 16px;
}
.sports-bange{
    height: 150px;
    flex: 2;
    border-radius: 15px;
    background: url(../image/index-card-badge.png) no-repeat rgba(157, 187, 227, .6);
    background-size: 120px;
}
.sports-bange div{
    margin-top: 20px;
    margin-left: 10px;

}

.training{
    border-radius: 15px;
    height: 110px;
    background: url(../image/index-swiper-bg2.jpg) no-repeat;
    background-size: 100%;
    color: #ffffff;
    position: relative;
}
.training div{
    position: absolute;
    top: 20px;
    left: 15px;
    font-weight: bold;
}

.run{
    border-radius: 15px;
    height: 110px;
    background: url(../image/index-card-run.png) no-repeat;
    background-size: 100% 100%;
    color: #ffffff;
    position: relative;
}
.run div{
    position: absolute;
    top: 20px;
    left: 15px;
    font-weight: bold;
}

    

